package com.ktjy.web.dao;



import com.ktjy.web.entity.GoodsItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsDao {
    public List<GoodsItem> selPageByName(@Param("goodsName") String goodsName,@Param("pageNo") int index,@Param("pageSize") int pageSize);

    public GoodsItem selGoodsById(int id);

    public int updateGoods(GoodsItem goodsItem);

    public int delGoods(int id);

    public int selGoodsCount();
}
